package com.shujia.method_.five;

public class MethodDemo2 {

    public static void main(String[] args) {
        // 嵌套调用
        methodTest1();
    }

    public static void methodTest1() {
        System.out.println("methodTest1...");
        methodTest2();
    }

    public static void methodTest2() {
        System.out.println("methodTest2...");
        methodTest3();
    }

    public static void methodTest3() {
        System.out.println("methodTest3...");
        methodTest4();
    }

    public static void methodTest4() {
        System.out.println("methodTest4...");
    }



}
